This example demonstrates how to mint an NFT using Sidekick.
owner
now if you plan to execute transactions from Sidekick. It won’t work to mint new tokens if you do not transfer ownership
to the Sidekick smart wallet or use Role Based Access Control and grant the minter role to the Sidekick smart wallet.Complete Sidekick Setup
Get your Sidekick smart wallet address
/sidekick/smart-account-address
endpoint to retrieve your Sidekick smart wallet address. This address will be used to interact with your NFT contracts.Grant the minter role to the Sidekick smart wallet address from the contract
Mint the NFT
/write/erc1155/{chainId}/{contractAddress}/mint
endpoint to mint an NFT from the backend.Deploy the NFT contract
Mint the NFT